
<div id="mainSearch_div" style="display:none">
<div id="rightside" class="full_size">
    	<article>
        	<header><h2>Search</h2></header>
            <div class="group" id="createDiv">
            	<div class="lblDiv">Sent or Received: <span>*</span></div>
               	<div class="cntrlDiv">
				<input type="radio" name="" id="doc_recd_rdo" value="received" /> Received &nbsp;&nbsp;
				<input type="radio" name="" id="doc_sent_rdo" value="sent" /> Sent</div>
                <div class="lblDiv">Document Type: <span>*</span></div>
                <div class="cntrlDiv"> 
				<select  style="width:150px" id="search_document_type" >
				<option value="">  </option>
				<option value="PO"> Purchase Order </option>
				<option value="INV"> Invoice </option>
				<option value="CMEMO"> Credit Memo </option>
				<option value="PMT">Payment</option>
			  </select>
				</div>
                <div class="lblDiv">From Date: </div>
                <div class="cntrlDiv"><input type="text" name="" id="search_from_date" class="calTxtBox" onfocus="showCalendarControl(this);" /></div>
                <div class="lblDiv">To Date: </div>
                <div class="cntrlDiv"><input type="text" name="" id="search_to_date" class="calTxtBox" onfocus="showCalendarControl(this);"/></div>
                <div class="lblDiv">From Amount: </div>
                <div class="cntrlDiv"><input type="text" name="" id="search_from_amt_range" /></div>
                <div class="lblDiv">To Amount: </div>
                <div class="cntrlDiv"><input type="text" name="" id="search_to_amt_range" /></div>
                <div class="lblDiv">&nbsp;</div>
                <div class="cntrlDivBig"><input onclick="javascript:do_search();" type="submit" name="" id="" value="Search"> 
				<input onclick="javascript:init_search();" type="submit" name="" id="" value="Clear"></div>
            </div>
        </article>
        <article>
        	<header><h2>Search Results<span id="search_doctype"></span></h2></header>
            <div class="group" id="createDiv">
            	<div id="search_results" style="display:none;">
				<div>
					<h3 id="searchdoctype"></h3>
				</div>
				<br>
				<div style="height:10px;"></div>
				<div id="found_yui_table"></div>
				
			</div>
			<div id="search_notfound" style="display:none;">No Results Found. Please search again with different parameters.</div>
            </div>
        </article>
    </div>
</div>